<script lang="ts" setup>
import { ref, onMounted } from "vue";
import { useRoute } from "vue-router";
const route = useRoute();
onMounted(() => {
  console.log(route.query.id);
});
</script>
<template>
  <div class="w-full">
    11111111
    <el-carousel :interval="5000" arrow="always" height="700px">
      <el-carousel-item v-for="item in 4" :key="item">
        <img class="w-full h-full" src="@/assets/images/banner.jpg" alt="" />
      </el-carousel-item>
    </el-carousel>
  </div>
</template>
<style lang="scss" scoped></style>
